package com.wechat.data.message.receive;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.wechat.data.message.Message;

import lombok.Setter;
import lombok.ToString;

/**
 * 接收到的消息对象
 * 
 * @author dong
 */
@ToString
@Setter
@XmlRootElement(name = "xml")
public class ReceivedMessage extends Message {
	private String content;

	private Long msgId;

	private String event;

	@XmlElement(name = "Content")
	public String getContent() {
		return content;
	}

	@XmlElement(name = "MsgId")
	public Long getMsgId() {
		return msgId;
	}

	@XmlElement(name = "Event")
	public String getEvent() {
		return event;
	}
}
